package com.yiji.fintech.musfinance.center.deduct.order.facade;

import com.acooly.core.utils.Money;
import com.acooly.core.utils.ToString;
import com.yiji.fintech.musfinance.base.enums.CardTypeEnum;
import com.yiji.fintech.musfinance.base.enums.CertTypeEnum;
import com.yiji.fintech.musfinance.base.enums.PersonalCorporateTypeEnum;
import com.yiji.fintech.musfinance.center.base.order.OrderFacade;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 代扣order
 * Created by ouwen@yiji.com} on 2017/9/12.
 */
@Data
public class DeductFacadeOrder extends OrderFacade{
    /***************付款方***************/
    /**付款-卡号户名*/
    @NotNull
    private String payAccountName;
    /**付款-证件号码*/
    @NotNull
    private String payCertNo;
    /**付款-卡号*/
    @NotNull
    private String payAccountNo;
    /**付款银行编码*/
    @NotNull
    private String payBankId;
    /**渠道签约合同号*/
    @NotNull
    private String contractNo;
    /**付款-证件类型*/
    private CertTypeEnum payCertType;
    /**付款-对公:CORPORATE / 对私:PERSONAL 默认对私*/
    private PersonalCorporateTypeEnum personalCorporateType;
    /**付款-卡类型*/
    private CardTypeEnum payCardType;
    /**付款-银行省信息*/
    private String payBankProvince;
    /**付款-银行市信息*/
    private String payBankCity;
    /**付款-手机号码*/
    private String payMobileNo;
    /**交易金额*/
    @NotNull
    private Money amount;
    @Override
    public String toString() {
        return ToString.toString(this);
    }
}
